04048942f07fc24fe24efcc19cc45a2ff9f9d409,core/test-src/org/pentaho/di/core/jdbc/ThinUtilTest.java,ThinUtilTest,testGetValueMeta,#,100

Before Change


    assertEquals( ValueMetaInterface.TYPE_BINARY, testValue.getType() );

    try {
      testValue = ThinUtil.getValueMeta( expectedName, Integer.MIN_VALUE );
      fail();
    } catch ( SQLException expected ) {
      // Do nothing, there is no SQL Type for Integer.MIN_VALUE, an exception was thrown as expected.

After Change


    assertEquals( ValueMetaInterface.TYPE_NONE, testValue.getType() );

    try {
      ThinUtil.getValueMeta( expectedName, Integer.MIN_VALUE );
      fail();
    } catch ( SQLException expected ) {
      // Do nothing, there is no SQL Type for Integer.MIN_VALUE, an exception was thrown as expected.